package com.example.smartcity

import android.annotation.SuppressLint
import android.app.Application
import android.content.Context


/**
 * 全局获取Context
 */
class SmartCityApplication : Application(){
    companion object{
        val url = "http://124.93.196.45:10001/"

        val title1 = "今日要闻"
        val title2 = "专题聚焦"
        val title3 = "政策解读"
        val title4 = "经济发展"
        val title5 = "文化旅游"
        val title6 = "科技创新"

        @SuppressLint("StaticFieldLeak")
        lateinit var context: Context
    }

    override fun onCreate() {
        super.onCreate()
        context = applicationContext
    }
}